package com.qww.factory.simplefactory;

public abstract class Pizza {
    private OrderType orderType;

    public OrderType getOrderType() {
        return orderType;
    }

    public void setOrderType(OrderType orderType) {
        this.orderType = orderType;
    }

    public abstract void prepare();
    public void bake() {
        System.out.println("bake " + orderType);
    }
    public void cut() {
        System.out.println("cut " + orderType);
    }
    public void box() {
        System.out.println("box " + orderType);
    }
}
